package cn.itcast.bos.service;

import cn.itcast.bos.domain.base.Area;
import cn.itcast.bos.domain.base.Courier;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import java.util.List;

/**
 * Created by Think on 2017/9/16.
 */
public interface AreaService {

    public void saveList(List<Area> areaList);

    public Page<Area> findPageData(Specification<Area> specification, Pageable pageable);
}
